﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Happy.Archetype;
using Happy.Domain;

namespace Happy.Cms.Domain.Tags
{
    [DomainModel, Description]
    public sealed class Tag : AggregateRoot<Guid>
    {
        private Tag()
        {
        }

        public Tag(Guid id, string category)
            : base(id)
        {
            this.Category = category;
        }

        public string Name { get; set; }

        public string Category { get; private set; }

        public string Description { get; set; }

        public int Order { get; set; }
    }
}
